<script>
    for(var i=0; i <= 1000; i++){
        console.log(i);
    }
</script>